<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--引入layui.css-->
    <link rel="stylesheet" href="/static/layui/css/layui.css"/>
    <!--引入layui.js-->
    <script src="/static/layui/layui.js"></script>
</head>
<body>
<table class="layui-hide" id="test"></table>
<script>
    layui.use(function () {
        let from = layui.from;
        let layer = layui.layer;
        let table = layui.table;
        table.render({
            elem: '#test'
            , url: '/index/member/getList/'
            , cellMinWidth: 80
            , cols: [[
                {field: 'circle_id', width: 80, title: 'ID', sort: true}
                , {field: 'member_id', width: 80, title: '用户ID'}
                , {field: 'circle_content', width: 240, title: '内容'}
                , {field: 'like_number', width: 100, title: '点赞数量'}
                , {field: 'commit_number', width: 100, title: '评论数量'}
                , {field: 'add_time', width: 100, title: '添加时间'}

            ]]
        });
    });
</script>
</body>
</html>